home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / gnuwget.zip / wget-1.4.3 / src / ftp-basic.h < prev    next >
C/C++ Source or Header  |  1997-01-17  |  1KB  |  34 lines

  1. /* Declarations for basic FTP support.
  2.    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
  3.    
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2 of the License, or
  7.    (at your option) any later version.
  8.    
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.    
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. #ifndef FTP_BASIC_H
  19. #define FTP_BASIC_H
  20.  
  21. char *ftp_request PARAMS((const char *, const char *));
  22. uerr_t ftp_response PARAMS((int, char **));
  23. uerr_t ftp_login PARAMS((int, const char *, const char *));
  24. uerr_t ftp_port PARAMS((int));
  25. uerr_t ftp_pasv PARAMS((int, unsigned char *));
  26. uerr_t ftp_type PARAMS((int, int));
  27. uerr_t ftp_cwd PARAMS((int, const char *));
  28. uerr_t ftp_retr PARAMS((int, const char *));
  29. uerr_t ftp_rest PARAMS((int, long));
  30. uerr_t ftp_list PARAMS((int, const char *));
  31. long ftp_expected_bytes PARAMS((const char *));
  32.  
  33. #endif /* FTP_BASIC_H */
  34.